#include <iostream>
#include <QtCore/QCoreApplication>

#include <QtCore/QObject>
#include <QtCore/QThread>
#include <QtCore/QDebug>
#include <CObject.h>

using namespace std;

int main(int argc, char* argv[])
{
    QCoreApplication a(argc, argv);
    qDebug() << "main thread: " << QThread::currentThreadId();
    CObject cTh;

    cTh.operate("hello");

    cout << "Qt" << endl;
    return a.exec();
}
